package com.wxapp.admin.api.pojo.vm.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lgl
 * @Description
 * @Datetime 2022/5/28 8:54
 * @Modified By
 */
@Data
public class PUserVm implements Serializable {
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;
    /**
     * 用户账号
     */
    @Schema(description = "用户账号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String loginName;

    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String nickName;
    /**
     * 员工号
     */
    @Schema(description = "员工号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String phone;
    /**
     * 用户邮箱
     */
    @Schema(description = "用户邮箱", requiredMode = Schema.RequiredMode.REQUIRED)
    private String email;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String deptId;

    /**
     * 用户类型（00系统用户）
     */
    @Schema(description = "用户类型（00系统用户）", requiredMode = Schema.RequiredMode.REQUIRED)
    private String userType;

    /**
     * 用户性别（0男 1女 2未知）
     */
    @Schema(description = "用户性别（0男 1女 2未知）", requiredMode = Schema.RequiredMode.REQUIRED)
    private String sex;

    /**
     * 头像地址
     */
    @Schema(description = "头像地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String avatar;
    /**
     * 是否在职（true在职 false离职）
     */
    @Schema(description = "是否在职（true在职 false 离职）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean work;

    /**
     * 删除标志（true代表停用 false代表未停用）
     */
    @Schema(description = "删除标志（true代表未停用 false代表停用）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean stop;

    /**
     * 状态（true正常 false删除）
     */
    @Schema(description = "菜单状态（true正常 false删除）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean status;

    /**
     * 创建者
     */
    @Schema(description = "创建者", requiredMode = Schema.RequiredMode.REQUIRED)
    private String createBy;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    /**
     * 更新者
     */
    @Schema(description = "更新者", requiredMode = Schema.RequiredMode.REQUIRED)
    private String updateBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;
}
